import request from '@/utils/request'

export function editPwd(id, data) {
  return request({
    url: '/user' + '/' + id,
    method: 'put',
    params: data
  })
}

export function editInfo(id, data) {
  return request({
    url: '/user/' + id + '/edit',
    method: 'get',
    data
  })
}

